package com.demo5.controller;

import com.demo5.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

@Controller
public class StudentController {

    @Autowired
    @Qualifier("student1")
    private Student student;

}
